home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 2.iso
/
STUTTGART
/
LANG
/
BASIC
/
LIB
/
EVENTSHELL
/
DOCS
/
ColourPick
< prev
next >
Wrap
Text File
|
1996-04-11
|
2KB
|
92 lines
This extension library should be installed using the
LIBRARY command and initialised with a call to
<FN_shell_ColourPick_Init>. This call must be made AFTER
<PROCshell_Init> has been called.
Additionally the messages from the file 'Resources.
UK.colourpick' should be added to the application's
message file.
--------------------------------------------------------
FNshell_ColourPick_Init
=> None
<= bool TRUE if module initialised correctly
FALSE otherwise
--------------------------------------------------------
FNshell_ColourPickerModuleLoaded
=> None
<= bool TRUE if Acorn colour picker module is
loaded, FALSE otherwise
--------------------------------------------------------
FNshell_ColourPickerUsingStandard
=> None
<= bool TRUE if Acorn colour picker is being
used, FALSE otherwise
--------------------------------------------------------
PROCshell_AttachPopupColourPicker()
=> int window handle
int icon handle
int display icon handle
str function to call when selection is made
str function to call before dbox opens
Button type of icon dbox is attached to is set to 3
(Click) to ensure that event is received.
Notify FN
=> int Red value selected (1-100)
int Green value selected (1-100)
int Blue value selected (1-100)
<= int no meaning
PreOpen FN
=> int window handle of dbox
<= int no meaning
--------------------------------------------------------
PROCshell_ColourPickerAllowColourNone()
=> bool TRUE colour 'none' allowed. FALSE
disallowed
Sets whether the 'none' option button is shaded in
the dbox.
--------------------------------------------------------
PROCshell_ColourPickerSetColour
=> int Red value (0-100)
int Blue value (0-100)
int Green value (0-100)
--------------------------------------------------------
PROCshell_ColourPickerUseNonStandard
=> none
Use the 'EvntShell' style colour selector dbox instead
of the Acorn one.
--------------------------------------------------------
PROCshell_ColourPickerUseStandard
=> none
Use the standard Acorn colour selector dbox. Has no
effect if the ColourPicker module is not loaded.
--------------------------------------------------------